<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
    <head>
        <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
        <title>Cadastrar novo Ponto</title>
        <script src="../lib/jquery.js" type="text/javascript" language="JavaScript">
        </script>
        <script src="../lib/jquery.validate.js" type="text/javascript" language="JavaScript">
        </script>
        <script src="../lib/jquery.form.js" type="text/javascript" language="JavaScript">
        </script>
        <script src="../lib/additional-methods.js" type="text/javascript" language="JavaScript">
        </script>
        <script src="../lib/form_ponto.js" type="text/javascript" language="JavaScript">
        </script>
        <link rel="stylesheet" href="../css/form_ponto.css" type="text/css">
    </head>
    <body>
        <h1>Cadastro de Ponto</h1>
        <form id='validate' name='validate' action='../php/form_ponto.php' method='post'>
            <table width="200" border="0">
                <tr>
                    <td>
                        Cod. do Local<span class='obrigatorio'>*</span>
                    </td>
                    <td>
                        <input type='text' name='cod_local' id='cod_local' size='20'>
                    </td>
                </tr>
                <tr>
                    <td>
                        <label for='endereco'>
                            Endereço<span class='obrigatorio'>*</span>
                        </label>
                    </td>
                    <td>
                        <input type='text' name='endereco' id='endereco' size='20'>
                    </td>
                </tr>
                <tr>
                    <td>
                        Bairro<span class='obrigatorio'>*</span>
                    </td>
                    <td>
                        <input type='text' name='bairro' id='bairro' size='20'>
                    </td>
                </tr>
                <tr>
                    <td>
                        Sentido<span class='obrigatorio'>*</span>
                    </td>
                    <td>
                        <input type='text' name='sentido' id='sentido' size='20'>
                    </td>
                </tr>
                <tr>
                    <td>
                        Referencia
                    </td>
                    <td>
                        <input type='text' name='referencia' id='referencia' size='20'>
                    </td>
                </tr>
                <tr>
                    <td>
                        Tipo
                    </td>
                    <td>
                        <input type='text' name='tipo' id='tipo' size='20'>
                    </td>
                </tr>
                <tr>
                    <td>
                        Qtd de Módulos
                    </td>
                    <td>
                        <input type='text' name='qtd_modulos' id='qtd_modulos' size='10'>
                    </td>
                </tr>
                <tr>
                    <td>
                        Qtd de bancos
                    </td>
                    <td>
                        <input type='text' name='qtd_bancos' id='qtd_bancos' size='10'>
                    </td>
                </tr>
                <tr>
                    <td>
                        Qtd de assentos
                    </td>
                    <td>
                        <input type='text' name='qtd_assentos' id='qtd_assentos' size='10'>
                    </td>
                </tr>
                <tr>
                    <td>
                        Tem Lixeira
                    </td>
                    <td>
                        <input type='checkbox' name='tem_lixeira' id='tem_lixeira'>
                    </td>
                </tr>
                <tr>
                    <td>
                        Tem Ilminação
                    </td>
                    <td>
                        <input type='checkbox' name='tem_iluminacao' id='tem_iluminacao'>
                    </td>
                </tr>
                <tr>
                    <td>
                        Tem Piso Podátil
                    </td>
                    <td>
                        <input type='checkbox' name='tem_piso' id='tem_piso'>
                    </td>
                </tr>
                <tr>
                    <td>
                        Larg. Calçada
                    </td>
                    <td>
                        <input type='text' name='larg_calcada' size='10' id='larg_calcada'>
                    </td>
                </tr>
                <tr>
                    <td>
                        Larg. Abrigo
                    </td>
                    <td>
                        <input type='text' name='larg_abrigo' size='10' id='larg_abrigo'>
                    </td>
                </tr>
                <tr>
                    <td>
                        Distância Frente/Fundo
                    </td>
                    <td>
                        <input type='text' name='dist_frente_fundo' size='10' id='dist_frente_fundo'>
                    </td>
                </tr>
                <tr>
                    <td>
                        Distância entre Pilares
                    </td>
                    <td>
                        <input type='text' name='dist_pilares' id='dist_pilares' size='10'>
                    </td>
                </tr>
                <tr>
                    <td>
                        Latitude<span class='obrigatorio'>*</span>
                    </td>
                    <td>
                        <input type='text' name='latitude' size='20' id='latitude'>
                    </td>
                </tr>
                <tr>
                    <td>
                        Longitude<span class='obrigatorio'>*</span>
                    </td>
                    <td>
                        <input type='text' name='longitude' id='longitude' size='20'>
                    </td>
                </tr>
                <tr>
                    <td>
                        Foto 1
                    </td>
                    <td>
                        <input type='file' name='foto1' id='foto1' size='20'>
                    </td>
                </tr>
                <tr>
                    <td>
                        Foto 2
                    </td>
                    <td>
                        <input type='file' name='foto2' id='foto2' size='20'>
                    </td>
                </tr>
                <tr>
                    <td>
                        Foto 3
                    </td>
                    <td>
                        <input type='file' name='foto3' id='foto3' size='20'>
                    </td>
                </tr>
                <tr>
                    <td>
                    </td>
                    <td>
                        <input type='button' id='enviar' value='Cadastrar'>
                    </td>
                </tr>
            </table>
            <div id='mensagem'>
            </div>
            <div id='error'>
            </div>
        </form>
    </body>
</html>
